package com.shenyi.wx.api;

import com.shenyi.wx.entity.CommentDO;

import java.util.List;
import java.util.Map;

/**
 * @author richard.fan
 * @version 1.0
 * @date 2018/11/06
 * @desc 评论
 * @see
 * @since 1.0
 */
public interface IApiCommentService {

     CommentDO queryObject(Integer id);


    List<CommentDO> queryList(Map<String, Object> map);


    int queryTotal(Map<String, Object> map);

    int queryhasPicTotal(Map<String, Object> map);

    int save(CommentDO comment);


    void update(CommentDO comment);


    void delete(Integer id);


    void deleteBatch(Integer[] ids);
}
